import { defineConfig } from 'vite';
import path from 'path';
import vue from '@vitejs/plugin-vue';

const alias = {
  '@': path.resolve('./src'), //相对路径别名配置,使用@代替src
};
// https://vite.dev/config/
export default defineConfig({
  base: './',
  plugins: [vue()],
  resolve: {
    alias,
  },
});
